home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: getting Unix's current running process id
- Date: Sun, 24 Mar 96 21:02:53 GMT
- Organization: none
- Message-ID: <827701373snz@genesis.demon.co.uk>
- References: <UlJ5MNm00YUwM=wGwV@andrew.cmu.edu>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <UlJ5MNm00YUwM=wGwV@andrew.cmu.edu>
- elie+@andrew.cmu.edu "Elie Jean-Philippe" writes:
-
- >Hi all,
- >Does anybody know what C function returns the current running process's Unix
- >process id ?
- >Any help would be appreciated.
-
- There is no C language function that does this. There is however a Unix system
- function called getpid() but the place to ask about that is
- comp.unix.programmer.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-